// import xmp from "./modules/xpm";

Vue.use(Vuex);

const xpm_modules = {
    state: {
        itemkey: "1_1",
    },
    mutations: {
        SELECT_ITME(state, sikey) {
            state.itemkey = sikey;
        }
    },
    actions: {
        selectItem({ commit, state }, item) {
            commit(SELECT_ITME);
        }
    },
    getters: {
        itemKey: state => state.itemkey
    },
}



export default new Vuex.Store({
    modules: {
        "xpm": xpm_modules
    }
})